class InitEntity {
	int errno;
	InitData data;
	String errmsg;

	InitEntity({this.errno, this.data, this.errmsg});

	InitEntity.fromJson(Map<String, dynamic> json) {
		errno = json['errno'];
		data = json['data'] != null ? new InitData.fromJson(json['data']) : null;
		errmsg = json['errmsg'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['errno'] = this.errno;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['errmsg'] = this.errmsg;
		return data;
	}
}

class InitData {
	String privacyProtocolUrl;
	bool feedbackDisplay;
	bool registerDisplay;

	InitData({this.privacyProtocolUrl, this.feedbackDisplay, this.registerDisplay});

	InitData.fromJson(Map<String, dynamic> json) {
		privacyProtocolUrl = json['privacyProtocolUrl'];
		feedbackDisplay = json['feedbackDisplay'];
		registerDisplay = json['registerDisplay'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['privacyProtocolUrl'] = this.privacyProtocolUrl;
		data['feedbackDisplay'] = this.feedbackDisplay;
		data['registerDisplay'] = this.registerDisplay;
		return data;
	}
}
